<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>:- Trang rao vặt -:</title>
<link rel="stylesheet" href="<?php echo $this->webroot; ?>/css/template_thanh.css" type="text/css" />
</head>

<body>

<div id="main">
		<?php echo $this->element('header'); ?>

		<div id="content">
		<!-- -------------------phan noi dung ------------------------------------------------------------------------->
				
					<?php echo $content_for_layout; ?>			
						
		</div>		
		<!--noi dung phai------------------------------------------------------------->
			<div id="content_right">
			<?php 
				if(!$this->Session->check("Username")){
				
					echo "<div id=\"dangtin\"></div>";
					echo $this->element('login1');
					echo "<div id=\"khoangcach\"></div>";
					echo $this->element('thongke');
				}else{
					echo "<div id=\"khoangcach\"></div>";
					echo $this->element('danhmucthanhvien');
					echo "<div id=\"khoangcach\"></div>";
					echo $this->element('thongke');
				}
				
			?>
			</div>
	<div id="khoangcach"></div>
	<div id="khoangcach"></div>
	<?php echo $this->element('footer'); ?>
</div>
</body>
</html>
